﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <script src="https://unpkg.com/vue@next"></script>
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-plus/lib/theme-chalk/index.css">
    <!-- import JavaScript -->
    <script src="https://unpkg.com/element-plus/lib/index.full.js"></script>

    <script src="https://d3js.org/d3.v7.min.js"></script>
    <title>Element Plus demo</title>
</head>
<body>
    <div id="app" >
        <el-button>{{ message }}</el-button>
    </div>
    <div>
        <p>JIANG</p>
        <p>DFADF</p>
        <p>ADFADF</p>
    </div>

    <script>
        const App = {
            data() {
                return {
                    message: "Hello Element Plus",
                };
            },
        };
        const app = Vue.createApp(App);
        app.use(ElementPlus);
        app.mount("#app");

        d3.select("body").style("background-color", "black");
        d3.selectAll("p").style("color", function () {
            return "hsl(" + Math.random() * 360 + ",100%,50%)";
        });
    </script>
</body>
</html>